<script setup>
  import { useLoadingStore } from "@/store/modules/loading/index";

  const loadingStore = useLoadingStore(); //loadding组件状态
  const isLoading = computed(() => loadingStore.isLoading);

  
</script>

<template>
  <router-view/>
  <Loadding v-if="isLoading" ref="loading"/>
  
</template>

<style scoped></style>
